package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.bean.MyPage;
import com.itheima.bean.Setmeal;
import com.itheima.dto.SetmealDto;

import java.util.List;

public interface SetmealService {
    List<Setmeal> findAll(long id);

    IPage<SetmealDto> findPage(MyPage page);

    int add(SetmealDto setmealDto);

    int delete(List<Long> ids);

    int update(SetmealDto setmealDto);

    int updateStatus(int status,List<Long> ids);

    List<Setmeal>  list(long categoryId,int status);
}
